package xjtu.sad.zbsj.user.pesonal.dao;

import xjtu.sad.zbsj.user.pesonal.Personal;
import xjtu.sad.zbsj.user.pesonal.PersonalDto;
import org.apache.ibatis.annotations.Select;

/**
 * @author lkm
 */
public interface PersonalDao {
    @Select("select user_id,user_name,r_id,gender,birth,mail from t_user_info  where user_id = #{userId}")
    Personal findPersonalInfo(String userId);

    void updatePersonalInfo(PersonalDto personalDto);

}
